package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.company.project.entity.BasePageEntity;

import java.util.Date;
import java.io.Serializable;

import lombok.Data;

/**
 * 班级表
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2025-06-25 14:52:44
 */
@Data
@TableName("classes")
public class ClassesEntity extends BasePageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 班级名称
	 */
	@TableField("class_name")
	private String className;

	/**
	 * 状态(0、停用 1、启用)
	 */
	@TableField("status")
	private Integer status;

	/**
	 * 创建时间
	 */
	@TableField("create_date")
	private Date createDate;

	/**
	 * 是否删除
	 */
	@TableField(value = "deleted", fill = FieldFill.INSERT)
	private Integer deleted;

	/**
	 * 修改时间
	 */
	@TableField("update_date")
	private Date updateDate;

	/**
	 * 状态名称
	 */
	@TableField(exist = false)
	private String statusName;


}
